<?php
/**
 * 学生界面-综合表现-荣誉称号
 */

use yii\grid\GridView;
use app\models\SocialworkSearchForPerson;
use app\models\HonortitleSearchForPerson;

/* @var $this yii\web\View */
/* @var $searchModel app\models\LiterarySearch */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = '荣誉称号';
$this->params['breadcrumbs'][] = $this->title;
?>

<?php    
    $searchModel = new HonortitleSearchForPerson($id);
    $dataProvider = $searchModel->search(\Yii::$app->request->queryParams); 
 ?>

<div class="literary-model-index">
    <?= GridView::widget([
        'dataProvider' => $dataProvider,
        'columns' => [
            ['class' => 'yii\grid\SerialColumn'],

            'stu_id',
            'stu_name',
            'project',
            'money',
            'time',
            'remark',
        ],
    ]); ?>
</div>
